package net.csdn.business.discuss.api.model.query;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @ClassName DiscussQuery
 * @Description Discuss对象Query
 * @Author zhangyl
 * @Date 2023/7/18 11:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DisciussDetailQuery
{
    /** 组织ID/仓库ID； */
    @NotBlank(message = "sourceId不能为空")
    private String sourceId;

    /** 1:组织；2:仓库 */
    @NotNull(message = "sourceType不能为空")
    private Integer sourceType;

    /** serialNumber */
    @NotNull(message = "serialNumber不能为空")
    private Integer serialNumber;

    private String currUserId;
}
